<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta content="零前端代码,急速开发后台管理系统！" name="description">
    <meta content="注解框架,Java注解,Java视图关系映射模型,CURD终极解决方案,快速构建管理后台,erupt" name="keyword">
    <meta content="width=device-width, initial-scale=.7" name="viewport">
    <title>erupt</title>
    <link href="assets/bootstrap.min.css" rel="stylesheet">
    <link href="assets/prism/prism-okaidia.min.css" rel="stylesheet">
    <link href="assets/animate.min.css" rel="stylesheet">
    <link rel="stylesheet" href="app.css">
</head>
<body class="ng-cloak" ng-app="app">
<h1 class="d-none">erupt</h1>
<div ng-controller="index">
    <header id="header" ng-show="showHeader">
        <div class="d-flex">
            <div ng-click="goHome()" style="cursor: pointer">
                <img alt="" id="logo" src="assets/logo.svg" style="width: 45px;">
                <span class="logo-text">Erupt<span style="font-size: .4em">.xyz</span></span>
            </div>
            <div style="line-height: 45px;margin-left: auto">
                <a class="btn btn-sm align-self-center btn-link" href="#!/" ng-class="currRouter=='/'?'active-link':''">
                    首页
                </a>
                <a class="btn btn-sm align-self-center btn-link" href="#!/contrast"
                   ng-class="currRouter=='/contrast'?'active-link':''">
                    代码示例
                </a>
                <a class="btn btn-sm align-self-center btn-link" href="#!/module"
                   ng-class="currRouter=='/module'?'active-link':''">
                    扩展模块
                </a>
                <a class="btn btn-sm align-self-center btn-link" href="#!/doc"
                   ng-class="currRouter=='/doc'?'active-link':''">使用文档</a>
                <a class="btn btn-sm align-self-center btn-link" href="https://www.erupt.xyz/demo"
                   target="_blank">演示DEMO</a>
            </div>
        </div>
    </header>
    <main id="main">
        <div ng-view>

        </div>
    </main>

    <footer id="footer">
        <div class="container" style="padding: 26px 36px;height: 250px">
            <div class="row">
                <div class="col-md-6">
                    <div class="footer-link">
                        <h2>QQ 交流群</h2>
                        <h4><a href="https://jq.qq.com/?_wv=1027&k=MCd4plZ0"
                               target="_blank">821389129</a></h4>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="footer-link">
                        <h2>邮箱地址</h2>
                        <h4><a href="mailto:erupts@126.com"
                               target="_blank">erupts@126.com</a></h4>
                    </div>
                </div>
            </div>
            <div class="row mt-4">
                <div class="col-md-6">
                    <div class="footer-link">
                        <h2>码云</h2>
                        <h4><a href="https://gitee.com/erupt/erupt"
                               target="_blank">https://gitee.com/erupt</a></h4>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="footer-link">
                        <h2>github</h2>
                        <h4><a href="https://github.com/erupts/erupt"
                               target="_blank">https://github.com/erupts</a></h4>
                    </div>
                </div>
            </div>
        </div>
        <div style="background: rgba(0,0,0,0.5);padding: 0 26px;">
            <div class="d-flex align-items-center">
                <img alt="" src="assets/logo2.svg" style="width: 45px;"><span class="logo-text">erupt<span
                    style="font-size: .4em">.xyz</span></span>
                <div class="ml-auto">
                    <p style="margin-bottom: 0;font-size: .85em;text-align: right;">
                        <a href="http://beian.miit.gov.cn" style="color: #fff" target="_blank">京ICP备19044060号-1</a>
                        <span style="color: rgba(255,255,255,0.7)">|</span>
                        <span>Copyright © 2019-{{year}} erupt.xyz All rights reserved.</span>
                    </p>
                </div>
            </div>
        </div>
    </footer>
    <!--    <div style="position: fixed;right: 50px;bottom: 50px;">-->
    <!--        <img alt="" ng-click="goTop()" src="images/top.svg" style="width: 28px;cursor: pointer">-->
    <!--    </div>-->
</div>
<script src="assets/jquery.min.js"></script>
<script src="assets/angular.min.js"></script>
<script src="assets/angular-route.min.js"></script>
<script src="app.js"></script>
<script src="page/home.js"></script>
<script src="page/contrast/contrast.js"></script>
<script src="page/extra/extra.js"></script>

<script src="assets/prism/prism.min.js"></script>
<script src="assets/prism/prism-java.min.js"></script>

<script src="assets/split.min.js"></script>

<script>
    console.group("Erupt All rights reserved.");
    console.log("%c" +
        "                               __      \n" +
        "                              /\\ \\__   \n" +
        "   __   _ __   __  __   _____ \\ \\ ,_\\  \n" +
        " /'__`\\/\\`'__\\/\\ \\/\\ \\ /\\ '__`\\\\ \\ \\/  \n" +
        "/\\  __/\\ \\ \\/ \\ \\ \\_\\ \\\\ \\ \\L\\ \\\\ \\ \\_ \n" +
        "\\ \\____\\\\ \\_\\  \\ \\____/ \\ \\ ,__/ \\ \\__\\\n" +
        " \\/____/ \\/_/   \\/___/   \\ \\ \\/   \\/__/\n" +
        "                          \\ \\_\\        \n" +
        "                           \\/_/        ", "color:#2196f3;font-weight:800");
    console.log("%chttps://www.erupt.xyz", "color:#2196f3;font-size:1.3em;padding:16px 0;");
    console.groupEnd();
    console.log("%c站内接口文档：", "color:#4caf50;font-size:1.5em")
    console.log("%chttps://www.erupt.xyz/demo/zeta-doc/demo.html", "font-size:1.3em;")

    //节流
    // function throttle(fn, delay) {
    //     var runFlag = false;
    //     return function (e) {
    //         // 判断之前的调用是否完成
    //         if (runFlag) {
    //             return false;
    //         }
    //         runFlag = true;
    //         setTimeout(() => {
    //             fn(e);
    //             runFlag = false;
    //         }, delay)
    //     }
    // }

    app.controller("index", function ($scope) {
        $scope.goHome = function () {
            location.href = "#";
        }

        $scope.goTop = function () {
            $("html,body").animate({"scrollTop": 0}, 600);
        }
    });
</script>
</body>
</html>
